package com.cn.vo.WorksVo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cn.entity.Works;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.sql.Date;

/**
 * @ClassName Comment
 * @Description TODO
 * @Author yujiajing
 * @Date 2022/11/18 21:21
 * @Version 1.0
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("Comment")
@TableName("tb_works_comment")
public class Comment {
    int userId;
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    Long worksId;
    Long commentId;
    String commentName;
    String comments;
}
